package com.be.beadmin.project.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 付款信息文件
 * @author: Jiaming Zheng
 * @Date: Create in 20:56 2023/5/15
 * @Modified By:
 **/
@Entity
@Table(name="T_PM_PayFileInfo")
@Getter
@Setter
public class PayFileInfo extends BaseEntity{

    @Column(name = "InfoId",columnDefinition = "VARCHAR(255) COMMENT '项目id' ")
    private String infoId;


    //过程检验检验
    @Column(name = "PayInfoId",columnDefinition = "VARCHAR(255) COMMENT '付款信息Id' ")
    private String payInfoId;

    @Column(name = "PayInfoStageName",columnDefinition = "VARCHAR(255) COMMENT '付款信息阶段名' ")
    private String payInfoStageName;

    // 文件相关字段
    @Column(name = "FileUrl",columnDefinition = "text COMMENT '文件链接' ")
    private String fileUrl;

    @Column(name = "PayFileCode",columnDefinition = "VARCHAR(50) COMMENT '文件编码'")
    private String payFileCode;

    @Column(name = "PayFileName",columnDefinition = "VARCHAR(255) COMMENT '文件名称'")
    private String payFileName;

    // bucketname : inspectionfile
    @Column(name = "bucketName",columnDefinition = "VARCHAR(255) COMMENT 'MinIO中的bucketName' ")
    private String bucketName;

    @Column(name = "UploaderId",columnDefinition = "VARCHAR(50) COMMENT '上传人id' ")
    private String uploaderId;

    @Column(name = "UploaderName",columnDefinition = "VARCHAR(50) COMMENT '上传人' ")
    private String uploaderName;

    @Column(name = "UploadTime",columnDefinition = "datetime COMMENT '上传时间' ")
    private Date uploadTime;
}






